//
//  YSMineItemModel.m
//  Yueshi
//
//  Created by Northwan on 15/8/29.
//  Copyright (c) 2015年 悦食中国. All rights reserved.
//

#import "YSMineItemModel.h"

@implementation YSMineItemModel

-(instancetype)initWithItemName:(NSString *)itemName iconName:(NSString *)iconName targetClass:(Class)targetClass hasNew:(BOOL)hasNew{
    self = [super init];
    if(self){
        self.itemName = itemName;
        self.iconName = iconName;
        self.targetClass = targetClass;
        self.hasNew = hasNew;
    }
    return self;
}

-(instancetype)initWithItemName:(NSString *)itemName iconName:(NSString *)iconName hasNew:(BOOL)hasNew{
    return [self initWithItemName:itemName iconName:iconName targetClass:nil hasNew:hasNew];
}

@end
